package com.beiyou.authority;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author wzby
 * @Date: 2022/10/16 10:56
 */
@Data
@ConfigurationProperties(prefix = "beiyou.authority")
public class AuthorityProperties {

    /*
      是否开启
     */
    private boolean enable ;
    /*
    可以自定义配置拦截的路径
     */
    private String pathPatterns="/api/**";

    /*
     配置不拦截的路径
     */
    private String excludePathPatterns="";

}
